#ifndef _YATAK_NET_H
#define _YATAK_NET_H

#define AF_INET 1

#define SOCK_STREAM 1
#define SOCK_DGRAM  2

int init_net(void);
void init_ip(void);
void init_tcp(void);
void init_udp(void);
void init_arp(void);
void init_el3(void);
void init_socket(void);
int init_net_buff(void);

/***************************************************************************/
/* This function sends a packet to a specified hardware address.
/* If the hardware address is unknown, an arp request is sended,
/* and the packet will be stored in a buffer.
/***************************************************************************/
void net_queue_buff(struct s_net_buff *buff);

#endif
